package com.z.sys.mapper;

import com.z.sys.entity.SysMenu;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * Describe: 系统权限接口
 * Author: z
 * CreateTime: 
 */
@Mapper
public interface SysMenuMapper {


    /**
     * Describe: 根据 username 查询用户菜单
     * Param: username
     * Return: ResuMenu
     */
    List<SysMenu> selectMenuByUsername(String username);

    /**
     * Describe: 根据 userId 查询用户快捷菜单
     * Param: userId
     * Return: ResuMenu
     */
    List<SysMenu> selectPageMenuByUserId(String userId);
    /**
     * Describe: 根据 userId 查询用户自定义快捷菜单
     * Param: userId
     * Return: ResuMenu
     */
    List<SysMenu> selectPorPageMenuByUserId(String userId);

}
